package com.bnz.config;

import com.github.pagehelper.PageInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置拦截器
 */
@Configuration
public class UseConfig {
    @Bean
    public PageInterceptor UsePageInterceptor(){
        return new PageInterceptor();
    }
}
